## Install remotes (used to install specific package versions)
install.packages("remotes")    # ensures remotes is available

## Install the exact package versions used in the replication
remotes::install_version("dplyr", version = "1.1.4", upgrade = "never")
remotes::install_version("xtable", version = "1.8-4", upgrade = "never")
remotes::install_version("randomizr", version = "1.0.0", upgrade = "never")